
module.exports = class extends think.cmswing.center {
  async indexAction() {
    this.meta_title = '首页';
    this.keywords = this.config('setup.WEB_SITE_KEYWORD') ? this.config('setup.WEB_SITE_KEYWORD') : '';// seo关键词
    this.description = this.config('setup.WEB_SITE_DESCRIPTION') ? this.config('setup.WEB_SITE_DESCRIPTION') : '';// seo描述
    this.active = ['/', '/index', '/index.html'];
    // 首页内容钩子
    await this.hook('hometitle');
    await this.hook('homelist');
    // 右边的钩子
    await this.hook('homeright');
    return this.display();
  }
};
